#pragma once
class MessageQ
{
public:
	MESSAGE_TYPE type;
	Time time;

	MessageQ(Time time);
	~MessageQ(void);
	void Log();
	virtual string toString();
	class greaterMessage
	{
	public:
		int operator()(MessageQ *x, MessageQ *y)
		{
			return x->time > y->time;
		}
	};
};
